import React from 'react'

type Prop = {
  setValue: (value: string) => void
}

export const InputArea: React.FC<Prop> = function ({setValue}) {
  return (
    <div className="col-lg-6">
      <textarea onKeyUp = {(e) => setValue(e.currentTarget.value)} className="form-control h-100" id="markdown"></textarea>
    </div>
  )
}